package xyz.bali16.module.blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;


@Data
@TableName(value = "blog_category")
@Accessors(chain = true)
public class Category implements Serializable {

    private static final long serialVersionUID = 1660254568965065323L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 分类名称
     */
    private String name;

    /**
     * 分类路径
     */
    private String url;

    /**
     * 描述
     */
    private String description;
}